From 96e6aa9c3abf2524e55958c4e4f9de52a6747196 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Wed, 14 Feb 2007 07:28:36 +0000 Subject: [PATCH] (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN. --- src/xterm.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index cf319b374d9..c4763dfb3ec 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -8426,6 +8426,11 @@ do_ewmh_fullscreen (f) { int have_net_atom = wm_supports (f, "_NET_WM_STATE"); + /* Some window managers don't say they support _NET_WM_STATE, but they do say + they support _NET_WM_STATE_FULLSCREEN. Try that also. */ + if (!have_net_atom) + have_net_atom = wm_supports (f, "_NET_WM_STATE_FULLSCREEN"); + if (have_net_atom) { Lisp_Object frame; -- 2.30.2